﻿#if UNITY_EDITOR
using System.Collections.Generic;
/// <summary>
/// XLSX逻辑代码
/// </summary>
public partial class ESF_Logic
{
    /// <summary>
    /// Xlsx表架构
    /// </summary>
    public static ESF_BuildXmlAsset_CacheXmlCatalog<ESF_Xml_XlsxAutoBuildFolder> xlsxAutoBuildFolder { get { return GetCacheXmlCatalog<ESF_Xml_XlsxAutoBuildFolder>(ESF_enCacheXmlCatalog.XlsxSchema); } }

    #region CollectXlsxSchema 收集Xlsx表架构
    /// <summary>
    /// 收集Xlsx表架构
    /// </summary>
    /// <typeparam name="T">泛型</typeparam>
    /// <returns>Xlsx表架构</returns>
    public static List<T> CollectXlsxSchema<T>()
        where T : ESF_CollectAsset_XLSX
    {
        return ESF_Utility.CollectFile<T>(new string[1] { xlsxAutoBuildFolder.xml.xlsxSchemaResolveFolder }, enESF_AssetFilterClassify.None, enESF_DependencyClassify.UnClude, (n) => { return n.isXLSX; }, enESF_DisplayProgressBarClassify.Normal);
    }
    #endregion
}
#endif
